//
//  ActivityDetailCell.m
//  Shengzhuli
//
//  Created by FXGuo on 2017/7/22.
//  Copyright © 2017年 kamangkeji. All rights reserved.
//

#import "ActivityDetailCell.h"

@interface ActivityDetailCell ()

@property (weak, nonatomic) IBOutlet UILabel *proByLab;
@property (weak, nonatomic) IBOutlet UILabel *addreeLab;
@property (weak, nonatomic) IBOutlet UILabel *timeLab;

@end

@implementation ActivityDetailCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setModel:(ActivityDetailModel *)model
{
    _model = model;
    if (!model) return;
    if (model.clubName) {
        self.proByLab.text = [NSString stringWithFormat:@"举办方:%@",model.clubName];
    }else {
        self.proByLab.text = @"举办方:玩转地球商旅学苑";
    }
    self.addreeLab.text = [NSString stringWithFormat:@"举办地址:%@",model.address];
    self.timeLab.text = [NSString stringWithFormat:@"举办时间:%@",model.holdDate];
}

@end
